package demo1;

import java.util.Arrays;

public class Test {
    public static void main(String[] args)
            throws CloneNotSupportedException {
        Person person=new Person("zhangsan");
        Person person1=(Person) person.clone();
        System.out.println(person1.name);

    }
}
